<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>请等候......</title>
<link type="text/css" href="CSS/smoothness/jquery-ui-1.8.16.custom.css" rel="stylesheet" />	
<script type="text/javascript" src="js/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="js/jquery.ui.core.min.js"></script>
<script type="text/javascript" src="js/jquery.ui.widget.min.js"></script>
<script type="text/javascript" src="js/jquery.ui.progressbar.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	
	$("#divProgressbar").progressbar({value: 0}); 
	   var newValue;
	   updateProgressbarValue();
          function updateProgressbarValue(){
              newValue = $("#divProgressbar").progressbar("option", "value") + 1;
              $("#divProgressbar").progressbar("option", "value", newValue);
              if(newValue <= 100) setTimeout(updateProgressbarValue, 60);
              else
              	{
              		window.location="main.html";
              	}
          }
});
</script>
<style type="text/css">
	#divProgressbar{
		height:20px;
		width:250px;
		margin:200px auto 0 auto;
	}
	#second{
		width:250px;
		margin:10px auto 0 auto;
	}
</style>
</head>

<body style="background:url(icons/MainBackGroundImage.png) repeat">
<div id="divProgressbar"></div>
<div id="second">请等候......</div>
</body>
</html>
